﻿#region File Description

//-----------------------------------------------------------------------------
// HomeController.cs
//
// Author: ITU Team3 (2012)
//-----------------------------------------------------------------------------

#endregion File Description

#region Using Statements

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

#endregion

namespace rentit03_client.Controllers
{
    public class HomeController : RentitController
    {
        //
        // GET: /Home/

        /// <summary>
        /// Gets the index page of the website
        /// </summary>
        /// <returns>The <seealso cref="ActionResult"/> containing the Index action</returns>
        public ActionResult Index()
        {
            ViewBag.media = new MovieController().GetRandom();

            return View();
        }
    }
}